projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf3183
)
gbser_posix Remove extranous cast for OS X 10.3.
author
robertl
<robertl>
Fri, 25 Aug 2006 18:49:20 +0000
(18:49 +0000)
committer
robertl
<robertl>
Fri, 25 Aug 2006 18:49:20 +0000
(18:49 +0000)
gbser_posix.c
patch
|
blob
|
history
diff --git
a/gbser_posix.c
b/gbser_posix.c
index de39d3ce19c8426264afdb3cc17ad8341758a477..6b37effe8a6a28a22276bc129de5fab80867bb77 100644
(file)
--- a/
gbser_posix.c
+++ b/
gbser_posix.c
@@
-280,7
+280,7
@@
int gbser__fill_buffer(void *handle, unsigned want, unsigned *ms) {
FD_SET(h->fd, &rec);
t.tv_sec = (time_t) time_left / 1000;
- t.tv_usec = (
suseconds_t) (
(unsigned) time_left % 1000) * 1000;
+ t.tv_usec = ((unsigned) time_left % 1000) * 1000;
if (select(h->fd + 1, &rec, NULL, NULL, &t) < 0) {
return gbser_ERROR;